gtk4.git
10 years agoHC: tone down backdrop for gtk switches
Jakub Steiner [Mon, 27 Apr 2015 15:33:40 +0000 (17:33 +0200)]
HC: tone down backdrop for gtk switches

https://bugzilla.gnome.org/show_bug.cgi?id=746925

10 years agoHAVE_MONITOR_INFO is always defined
Jose Rostagno [Mon, 20 Apr 2015 00:51:46 +0000 (21:51 -0300)]
HAVE_MONITOR_INFO is always defined

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agodrop old compat code, BITMAPV5HEADER is defined on vista+
Jose Rostagno [Mon, 20 Apr 2015 00:44:03 +0000 (21:44 -0300)]
drop old compat code, BITMAPV5HEADER is defined on vista+

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agoWM_CLIPBOARDUPDATE is always define on vista+
Jose Rostagno [Sun, 19 Apr 2015 23:17:53 +0000 (20:17 -0300)]
WM_CLIPBOARDUPDATE is always define on vista+

https://msdn.microsoft.com/en-us/library/windows/desktop/ms649021%28v=vs.85%29.aspx

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agoSimplify code a bit after xp support drop
Jose Rostagno [Sun, 19 Apr 2015 23:04:53 +0000 (20:04 -0300)]
Simplify code a bit after xp support drop

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agobuild: Avoid xgettext crash on MSYS2
Daiki Ueno [Thu, 23 Apr 2015 00:42:45 +0000 (09:42 +0900)]
build: Avoid xgettext crash on MSYS2

isatty() on MSYS2 returns non-zero if the fd is stdout and is redirected
to /dev/null.  That lets xgettext to produce colorized output and leads
to an assertion failure during terminal type detection.

Although the problem should be fixed in MSYS2, isatty() could behave
wrongly in many ways on Windows.  Since gtk+ doesn't need colorized
output, it would be safer to bypass the terminal dependent code.

See also:
https://lists.gnu.org/archive/html/bug-gettext/2015-04/msg00004.html

https://bugzilla.gnome.org/show_bug.cgi?id=748346

10 years agogdk: don't segfault on beep with offscreen window
Christian Hergert [Wed, 22 Apr 2015 23:35:29 +0000 (16:35 -0700)]
gdk: don't segfault on beep with offscreen window

https://bugzilla.gnome.org/show_bug.cgi?id=748341

10 years agodocs: Fix incorrect cross-reference to GtkSearchBar
Kai Willadsen [Sun, 26 Apr 2015 21:49:28 +0000 (07:49 +1000)]
docs: Fix incorrect cross-reference to GtkSearchBar

https://bugzilla.gnome.org/show_bug.cgi?id=748500

10 years agoFix the build
Matthias Clasen [Mon, 27 Apr 2015 10:15:28 +0000 (06:15 -0400)]
Fix the build

There was one too many dialog test cases in the Makefile.

https://bugzilla.gnome.org/show_bug.cgi?id=748509

10 years agoAdjust builder tests
Matthias Clasen [Mon, 27 Apr 2015 02:55:31 +0000 (22:55 -0400)]
Adjust builder tests

Some errors are now returned as markup errors instead of builder
errors. Adjust the tests for this.

10 years agoGtkTreeStore: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:32:05 +0000 (10:32 -0400)]
GtkTreeStore: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoGtkListStore: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:30:15 +0000 (10:30 -0400)]
GtkListStore: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoGtkComboBoxText: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:26:07 +0000 (10:26 -0400)]
GtkComboBoxText: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoAdjust existing tests
Matthias Clasen [Sun, 26 Apr 2015 00:51:56 +0000 (20:51 -0400)]
Adjust existing tests

10 years agoGtkWindow: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:37:31 +0000 (19:37 -0400)]
GtkWindow: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkWidget: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:37:02 +0000 (19:37 -0400)]
GtkWidget: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkSizeGroup: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:36:39 +0000 (19:36 -0400)]
GtkSizeGroup: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkRecentFilter: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:36:09 +0000 (19:36 -0400)]
GtkRecentFilter: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the infobar builder parser
Matthias Clasen [Mon, 27 Apr 2015 03:03:05 +0000 (23:03 -0400)]
Add tests for the infobar builder parser

10 years agoGtkInfoBar: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:35:22 +0000 (19:35 -0400)]
GtkInfoBar: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkFileFilter builder parser
Matthias Clasen [Sun, 26 Apr 2015 19:24:11 +0000 (15:24 -0400)]
Add tests for the GtkFileFilter builder parser

10 years agoGtkFileFilter: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:34:34 +0000 (19:34 -0400)]
GtkFileFilter: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkDialog builder parser
Matthias Clasen [Sun, 26 Apr 2015 19:03:03 +0000 (15:03 -0400)]
Add tests for the GtkDialog builder parser

10 years agoGtkDialog: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:33:52 +0000 (19:33 -0400)]
GtkDialog: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for GtkLevelBar builder parser
Matthias Clasen [Sun, 26 Apr 2015 15:45:21 +0000 (11:45 -0400)]
Add tests for GtkLevelBar builder parser

10 years agoGtkLevelBar: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 15:22:10 +0000 (11:22 -0400)]
GtkLevelBar: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for GtkContainer builder parser
Matthias Clasen [Sun, 26 Apr 2015 03:58:08 +0000 (23:58 -0400)]
Add tests for GtkContainer builder parser

10 years agoGtkContainer: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:31:10 +0000 (19:31 -0400)]
GtkContainer: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkScale builder parser
Matthias Clasen [Sat, 25 Apr 2015 15:24:40 +0000 (11:24 -0400)]
Add tests for the GtkScale builder parser

These tests check various error conditions in GtkScale
custom tags.

10 years agoGtkScale: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 15:22:30 +0000 (11:22 -0400)]
GtkScale: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkCellLayout builder parser
Matthias Clasen [Sat, 25 Apr 2015 01:21:05 +0000 (21:21 -0400)]
Add tests for the GtkCellLayout builder parser

These tests check various error conditions in GtkCellLayout
custom tags.

10 years agoGtkCellLayout: Use the new helpers
Matthias Clasen [Thu, 23 Apr 2015 00:21:38 +0000 (19:21 -0500)]
GtkCellLayout: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkLabel builder parser
Matthias Clasen [Wed, 22 Apr 2015 15:59:12 +0000 (10:59 -0500)]
Add tests for the GtkLabel builder parser

These tests check various error conditions in GtkLabel
custom tags.

10 years agoGtkLabel: Use the new helpers
Matthias Clasen [Wed, 22 Apr 2015 15:57:38 +0000 (10:57 -0500)]
GtkLabel: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkBuilder: Introduce some private helpers
Matthias Clasen [Sun, 26 Apr 2015 07:07:56 +0000 (03:07 -0400)]
GtkBuilder: Introduce some private helpers

Add functions that help reporting errors from builder
subparsers consistently.

10 years agoGtkBuilder: Unify builder error messages
Matthias Clasen [Sat, 25 Apr 2015 23:29:40 +0000 (19:29 -0400)]
GtkBuilder: Unify builder error messages

Don't use <%s> for an attribute.

10 years agoGtkDialog: Fix up docs
Matthias Clasen [Sun, 26 Apr 2015 15:54:02 +0000 (11:54 -0400)]
GtkDialog: Fix up docs

The ui fragment in the example was causing a critical
warning, which is not nice. Fix it to work properly.

10 years agodocs: Add an cross-reference to template docs
Matthias Clasen [Tue, 21 Apr 2015 12:12:58 +0000 (07:12 -0500)]
docs: Add an cross-reference to template docs

10 years agoGtkActionable: Fix small doc formatting issues
Matthias Clasen [Tue, 21 Apr 2015 12:07:51 +0000 (07:07 -0500)]
GtkActionable: Fix small doc formatting issues

10 years agoGtkApplicationWindow: Fix small doc formatting issues
Matthias Clasen [Tue, 21 Apr 2015 12:07:31 +0000 (07:07 -0500)]
GtkApplicationWindow: Fix small doc formatting issues

10 years agoGtkApplication: Fix some small doc formatting issues
Matthias Clasen [Mon, 20 Apr 2015 22:35:43 +0000 (18:35 -0400)]
GtkApplication: Fix some small doc formatting issues

10 years agogl area: Add a few missing docs
Matthias Clasen [Mon, 20 Apr 2015 21:52:48 +0000 (17:52 -0400)]
gl area: Add a few missing docs

10 years agodocs: Update list of ignored headers
Matthias Clasen [Mon, 20 Apr 2015 21:50:11 +0000 (17:50 -0400)]
docs: Update list of ignored headers

10 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Apr 2015 11:12:25 +0000 (13:12 +0200)]
Updated Czech translation

10 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Apr 2015 08:28:41 +0000 (10:28 +0200)]
Updated Czech translation

10 years agoUpdated Icelandic translation
Sveinn í Felli [Fri, 24 Apr 2015 14:21:49 +0000 (14:21 +0000)]
Updated Icelandic translation

10 years agoUpdated Icelandic translation
Sveinn í Felli [Fri, 24 Apr 2015 14:21:07 +0000 (14:21 +0000)]
Updated Icelandic translation

10 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Fri, 17 Apr 2015 15:29:37 +0000 (15:29 +0000)]
Updated Brazilian Portuguese translation

10 years agoAdwaita: fix selected backdrop list rows.
Lapo Calamandrei [Thu, 23 Apr 2015 20:45:23 +0000 (22:45 +0200)]
Adwaita: fix selected backdrop list rows.

A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.

10 years agowayland: Add support for gtk_window_set_modal
Jonas Ådahl [Fri, 6 Mar 2015 03:40:12 +0000 (11:40 +0800)]
wayland: Add support for gtk_window_set_modal

Add two new requests to the gtk_surface interface: set_modal and
unset_modal. The server will currently not do anything special with
input focus, and its up to the client to ignore events on the parent
surface.

This commit bumps the gtk_shell interface version to 2. By connecting to
a Wayland server with another gtk_shell interface version any features
depending on the gtk_shell protocol will not be available.

https://bugzilla.gnome.org/show_bug.cgi?id=745721

10 years agoAdwaita: entry: some sass refactoring.
Lapo Calamandrei [Wed, 22 Apr 2015 15:43:37 +0000 (17:43 +0200)]
Adwaita: entry: some sass refactoring.

10 years agoAdwaita: vertically linked entries fix.
Lapo Calamandrei [Wed, 22 Apr 2015 14:09:29 +0000 (16:09 +0200)]
Adwaita: vertically linked entries fix.

I was axing the edge hilight on the last linked entry which needs
to be there, fixed.

10 years agoAdwaita: .entry.error/.entry.warning dark variant love
Lapo Calamandrei [Wed, 22 Apr 2015 13:54:04 +0000 (15:54 +0200)]
Adwaita: .entry.error/.entry.warning dark variant love

10 years agoAdwaita: simplify entry vertical linking.
Lapo Calamandrei [Wed, 22 Apr 2015 12:42:58 +0000 (14:42 +0200)]
Adwaita: simplify entry vertical linking.

Now it should be "right" in basically every combination of entries
and buttons.

10 years agoGtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t
Kjell Ahlstedt [Tue, 21 Apr 2015 07:05:26 +0000 (09:05 +0200)]
GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t

cairo_rectangle_int_t was replaced by GdkRectangle in commit
552c29b488ecd7bcc3303dd5514ce6dbfff04437, but the type of the pointing-to
property was not changed.

To avoid breaking old code that sets or gets the property with a GValue
of type CAIRO_GOBJECT_TYPE_RECTANGLE_INT, transformation functions between
CAIRO_GOBJECT_TYPE_RECTANGLE_INT and GDK_TYPE_RECTANGLE are registered on
the first call to gdk_rectangle_get_type().

https://bugzilla.gnome.org/show_bug.cgi?id=723394

10 years agoUpdated Ukrainian translation
Daniel Korostil [Mon, 20 Apr 2015 18:10:03 +0000 (21:10 +0300)]
Updated Ukrainian translation

10 years agoAdwaita: simplify entries.
Lapo Calamandrei [Mon, 20 Apr 2015 16:36:10 +0000 (18:36 +0200)]
Adwaita: simplify entries.

By drawing the background w/o using 3 inset shadows, same or better effect,
cleaner and simpler scss, possibly better rendering performances.

10 years agoImprove the docs for gdk_window_set_opaque_region
Matthias Clasen [Sat, 18 Apr 2015 16:54:45 +0000 (12:54 -0400)]
Improve the docs for gdk_window_set_opaque_region

Fix several typos and annotate the region parameter
as allow-none.

10 years agowayland: Don't unset the selected mimetype on drop_reply
Carlos Garnacho [Sat, 18 Apr 2015 16:02:50 +0000 (18:02 +0200)]
wayland: Don't unset the selected mimetype on drop_reply

gdk_wayland_drop_context_set_status() can't do much else currently besides
picking a mimetype (the first one is currently chosen). This may incorrectly
unset the mimetype chosen on .receive(), so the transfer is cancelled before
it even starts.

At the time drop_reply happens, we should have already picked a mimetype
along the way, so only cover for accepted=FALSE in order to unset it.

10 years agowayland: Plug leak
Carlos Garnacho [Tue, 7 Apr 2015 14:58:01 +0000 (16:58 +0200)]
wayland: Plug leak

We leak refs on the dest window if it gets set multiple times, expected to
happen as the DnD operation moves across the window.

10 years agowayland: Create internal GdkWindow to be set as the DnD source
Carlos Garnacho [Tue, 7 Apr 2015 14:23:38 +0000 (16:23 +0200)]
wayland: Create internal GdkWindow to be set as the DnD source

During drag operations from another client, we currently set no window as
the DnD source. There's paths in upper layers though that rely on it being
set, just that we don't trigger these yet.

10 years agoGtkMessageDialog: Minor documentation update
Michael Catanzaro [Fri, 17 Apr 2015 15:10:58 +0000 (10:10 -0500)]
GtkMessageDialog: Minor documentation update

Icons went away in 3.12

https://bugzilla.gnome.org/show_bug.cgi?id=748061

10 years agogdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout
Federico Mena Quintero [Fri, 17 Apr 2015 16:16:07 +0000 (11:16 -0500)]
gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout

So that lazy people like me can see in the header file which new functions to use.

10 years agoGtkRange: fix horizontal scrolling
Lars Uebernickel [Wed, 15 Apr 2015 13:27:04 +0000 (15:27 +0200)]
GtkRange: fix horizontal scrolling

https://bugzilla.gnome.org/show_bug.cgi?id=737175

10 years agoAdwaita: scrollbar contrast bump
Lapo Calamandrei [Fri, 17 Apr 2015 13:33:04 +0000 (15:33 +0200)]
Adwaita: scrollbar contrast bump

10 years agobuild/Makfile-newvs.am: Use Pattern Rules
Chun-wei Fan [Fri, 17 Apr 2015 05:59:28 +0000 (13:59 +0800)]
build/Makfile-newvs.am: Use Pattern Rules

Make use of pattern rules when generating the Visual Studio 2012/2013
Projects from the Visual Studio 2010 projects, which will help to clean up
the file and also avoid problems when running items like 'make -jN dist'.

10 years agoW32: Support horizontal mouse wheel scrolling
Руслан Ижбулатов [Thu, 16 Apr 2015 23:11:14 +0000 (23:11 +0000)]
W32: Support horizontal mouse wheel scrolling

https://bugzilla.gnome.org/show_bug.cgi?id=748014

10 years agogdk-win32: Clean Up A Bit
Chun-wei Fan [Wed, 15 Apr 2015 09:17:06 +0000 (17:17 +0800)]
gdk-win32: Clean Up A Bit

As GLib dropped Windows 2000 support some time ago [1][2], and the current
git master already depends on a GLib release that is well after it dropped
Windows 2000 support, clean up the code a bit as we are assured that the
code will run on XP and later, plus, we have dropped XP support during
this cycle with commit b85f0cc.

https://bugzilla.gnome.org/show_bug.cgi?id=741849

[1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02
[2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7

10 years agoRevert "gdk-win32: Clean Up A Bit"
Chun-wei Fan [Fri, 17 Apr 2015 03:29:07 +0000 (11:29 +0800)]
Revert "gdk-win32: Clean Up A Bit"

This reverts commit 24d3f3fcb2894df110a17317260b8705d68d22ec.

Sorry, I am going to re-commit this very shortly with a new
commit message, as I found the commit message to be quite
wrong and misleading.

10 years agogdk-win32: Really Implement GdkScreen->is_composited()
Chun-wei Fan [Wed, 15 Apr 2015 09:44:55 +0000 (17:44 +0800)]
gdk-win32: Really Implement GdkScreen->is_composited()

The current GdkScreen->is_composited() is a stub as we were having Windows
XP being supported, which does not support Desktop Window Manager (DWM),
which is used by Windows for composition.

Windows Vista and later support DWM, and it is always enabled on Windows 8/
Server 2012 and later.

Please note that as we are dropping XP support in this cycle, this is the
commit that would say goodbye to Windows XP support for GTK+-3.x, by
linking directly to dwmapi.dll.  This means, we only check whether we are
on Windows 8 or Server 2012 (or later) to see whether we unconditionally
have composition enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=741849

10 years agogdk-win32: Clean Up A Bit
Chun-wei Fan [Wed, 15 Apr 2015 09:17:06 +0000 (17:17 +0800)]
gdk-win32: Clean Up A Bit

As GLib dropped XP support some time ago [1][2], and the current git master already
depends on a GLib release that is well after it dropped XP support, clean
up the code a bit as we are assured that the code will run on XP and later,
plus, we are dropping XP support during this cycle (i.e. very soon).

https://bugzilla.gnome.org/show_bug.cgi?id=741849

[1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02
[2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7

10 years agowindow: fix initial shadow width for maximized/fullscreen windows
Cosimo Cecchi [Mon, 13 Apr 2015 22:31:10 +0000 (15:31 -0700)]
window: fix initial shadow width for maximized/fullscreen windows

To calculate the shadow width, we look at the value of priv->fullscreen
and priv->maximized.
Those fields will have the actual value only after GTK receives back a
window state event though, so they will be wrong in _realize(). Look at
priv->fullscreen_initially and priv->maximize_initially too, to avoid
the size changing right after realize, which would make the window
flicker if maximized at startup.

https://bugzilla.gnome.org/show_bug.cgi?id=747808

10 years agoAdwaita: fix outline radius for dialog-action-area buttons
Sebastian Keller [Thu, 16 Apr 2015 23:07:03 +0000 (01:07 +0200)]
Adwaita: fix outline radius for dialog-action-area buttons

https://bugzilla.gnome.org/show_bug.cgi?id=748013

10 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Thu, 16 Apr 2015 21:05:04 +0000 (21:05 +0000)]
Updated Brazilian Portuguese translation

10 years agoscrolledwindow: Do not round dx/dy to int
Carlos Garnacho [Thu, 16 Apr 2015 20:45:54 +0000 (22:45 +0200)]
scrolledwindow: Do not round dx/dy to int

Libinput will use 0.0f on the "scrolling finished" event, so check for this
instead of rounding (<1 values are sort of frequent on touchpads). This
impedes bug #745315 to resurface after commit d563b943ed3.

10 years agoscrolledwindow: Ensure the animation is cancelled on arriving scroll events
Carlos Garnacho [Thu, 16 Apr 2015 16:40:32 +0000 (18:40 +0200)]
scrolledwindow: Ensure the animation is cancelled on arriving scroll events

When the scrolledwindow receives scroll events, it ensures the timeout to
maybe start the "snap back to edges" animation is reset, but it does nothing
about the animation source. It must be reset just the same, to maybe be
started after the timeout fires up.

10 years agoAdwaita: colorpicker fixes.
Lapo Calamandrei [Thu, 16 Apr 2015 07:57:23 +0000 (09:57 +0200)]
Adwaita: colorpicker fixes.

Added another :not() to fix the first and last swatches in the
first section of colorpicker.
Dodge the artifacts due to stacked anti-aliased rounded corners by
increasing the radius of the base object by 1px.

10 years agoHighContrast: sync color picker changes with Adwaita
Jakub Steiner [Wed, 15 Apr 2015 22:47:40 +0000 (00:47 +0200)]
HighContrast: sync color picker changes with Adwaita

10 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 15 Apr 2015 20:22:07 +0000 (22:22 +0200)]
Updated Slovenian translation

10 years agoAdwaita: clearer comment for colorbutton hack
Lapo Calamandrei [Wed, 15 Apr 2015 19:53:11 +0000 (21:53 +0200)]
Adwaita: clearer comment for colorbutton hack

10 years agoAdwaita: colorpicker and colorbutton fixes.
Lapo Calamandrei [Wed, 15 Apr 2015 19:43:59 +0000 (21:43 +0200)]
Adwaita: colorpicker and colorbutton fixes.

With nasty gross ugly code, no other ways, sorry.

10 years agoAdwaita: GtkPlacesSidebar insensitive items.
Lapo Calamandrei [Wed, 15 Apr 2015 18:20:52 +0000 (20:20 +0200)]
Adwaita: GtkPlacesSidebar insensitive items.

Set the right colors there.

10 years agoHighContrast: don't need to work around ffox
Jakub Steiner [Wed, 15 Apr 2015 12:55:35 +0000 (14:55 +0200)]
HighContrast: don't need to work around ffox

No need for the workaround for ffox 36, works in 37

https://bugzilla.gnome.org/show_bug.cgi?id=747827

10 years agoconfigure: specify that mir backend needs gio-unix
Daniel van Vugt [Wed, 15 Apr 2015 11:19:14 +0000 (13:19 +0200)]
configure: specify that mir backend needs gio-unix

10 years agoFix window button updates in split headers
Matthias Clasen [Tue, 14 Apr 2015 21:05:34 +0000 (17:05 -0400)]
Fix window button updates in split headers

We were only updating window buttons when the headerbar was
a direct child of the window. That is not the case in more
complicated situations, such as the split headers in gedit
or polari. To fix such cases, make the headerbar itself listen
for state changes on its toplevel.

https://bugzilla.gnome.org/show_bug.cgi?id=747805

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 13 Apr 2015 17:31:03 +0000 (19:31 +0200)]
Updated Danish translation

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 13 Apr 2015 17:24:02 +0000 (19:24 +0200)]
Updated Danish translation

10 years agogesturesingle: Ignore motion/updates from unhandled sequences
Carlos Garnacho [Mon, 13 Apr 2015 14:15:11 +0000 (16:15 +0200)]
gesturesingle: Ignore motion/updates from unhandled sequences

This used to do the right thing, practically ignoring those event
if they went all through the event handler, unless this motion event
triggered the cancellation of this gesture from the event handler
of another controllers.

In this case, the controller would be reset, but the motion event
would still go through its handler, setting again
current_button/sequence as the motion event has buttons in its
modifiers. This leaves GtkGestureSingle with inconsistent data
that may interfere with future runs.

https://bugzilla.gnome.org/show_bug.cgi?id=747469

10 years agoscrolledwindow: Show scrollbars on tablet devices
Carlos Garnacho [Mon, 13 Apr 2015 13:29:57 +0000 (15:29 +0200)]
scrolledwindow: Show scrollbars on tablet devices

The code managing scrollbars visibility was too pervasively checking for
mouse devices, leaving pen/eraser/cursor devices with no scrollbars at
all. Relax these checks a bit, and actually toggle full-width scrollbars
on pen/eraser devices, so it is an easier target.

https://bugzilla.gnome.org/show_bug.cgi?id=747608

10 years agoHC: fix selected list-rows
Jakub Steiner [Mon, 13 Apr 2015 15:07:16 +0000 (17:07 +0200)]
HC: fix selected list-rows

https://bugzilla.gnome.org/show_bug.cgi?id=747689

10 years agox11: Relax requirements for setting ParentRelative
Evangelos Foutras [Sat, 11 Apr 2015 08:20:56 +0000 (11:20 +0300)]
x11: Relax requirements for setting ParentRelative

XSetWindowBackgroundPixmap() will throw BadMatch only in the case of a
different parent window depth. Different visuals are fine and actually
expected in Gtk+ 3.16 (since we don't stick to the system default visual
but try to pick a better one).

https://bugzilla.gnome.org/show_bug.cgi?id=747524

10 years agoplug: Remove size_allocate handler
Carlos Garnacho [Thu, 9 Apr 2015 12:09:42 +0000 (14:09 +0200)]
plug: Remove size_allocate handler

Since windows can be intermediate containers this is somewhat redundant,
plus gtk_window_size_allocate() will do additional things like allocating
the popovers, which was mistakenly skipped by local plugs not chaining up.

https://bugzilla.gnome.org/show_bug.cgi?id=747553

10 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 12 Apr 2015 19:18:45 +0000 (21:18 +0200)]
Updated Slovenian translation

10 years agoUpdate Arabic translation
Khaled Hosny [Sat, 11 Apr 2015 23:54:18 +0000 (01:54 +0200)]
Update Arabic translation

10 years agoUpdate Arabic translation
Khaled Hosny [Sat, 11 Apr 2015 23:39:53 +0000 (01:39 +0200)]
Update Arabic translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Sat, 11 Apr 2015 21:47:26 +0000 (00:47 +0300)]
Updated Hebrew translation

10 years agoUpdated Swedish translation
Anders Jonsson [Sat, 11 Apr 2015 20:54:09 +0000 (20:54 +0000)]
Updated Swedish translation

10 years agoUpdated Swedish translation
Anders Jonsson [Sat, 11 Apr 2015 20:51:26 +0000 (20:51 +0000)]
Updated Swedish translation

10 years agoResolve redefinition of typedef GtkCssNode
William Hua [Thu, 9 Apr 2015 13:28:30 +0000 (09:28 -0400)]
Resolve redefinition of typedef GtkCssNode

This causes a build failure under Mac OS because GtkCssNode is defined
in both gtk/gtkcssnodeprivate.h and gtk/gtkcsstypesprivate.h.

https://bugzilla.gnome.org/show_bug.cgi?id=747560

10 years agoRemove no longer needed in-tree editing
Matthias Clasen [Fri, 10 Apr 2015 01:03:13 +0000 (21:03 -0400)]
Remove no longer needed in-tree editing